package com.jollychic.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.jollychic.dao.IUserServiceDao;
import com.jollychic.model.UserInfo;
import com.jollychic.service.api.IUserService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 *
 * Created by xusheng on 2019/4/24.
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    IUserServiceDao userServiceDao;

    @Override
    public UserInfo getUserInfo(Integer userId) {
        return userServiceDao.getUserInfo(userId);
    }
}
